<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<f:view xmlns="http://www.w3.org/1999/xhtml"
		xmlns:h="http://java.sun.com/jsf/html"
		xmlns:ui="http://java.sun.com/jsf/facelets"
		xmlns:f="http://java.sun.com/jsf/core"
		xmlns:p="http://primefaces.org/ui"
		contentType="text/html"
		encoding="UTF-8"
		lang="#{localeService.locale}">
	<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="#{localeService.locale}" lang="#{localeService.locale}">
	<h:head>
		<ui:insert name="setup" />
		<f:facet name="first">
			<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
			<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
			<title>#{conversationManager.currentConversation.currentContext.label}</title>
		</f:facet>
		<f:facet name="last">
			<h:outputStylesheet library="css" name="main.css" />
			<h:outputStylesheet library="css" name="print.css" />
			<h:outputStylesheet library="css" name="printWatermark.css" media="print" />
			<h:outputScript library="js" name="main.js" />
			<h:outputScript library="js" name="primefaces-locale.js" />
		</f:facet>
	</h:head>
	<h:body>
		<div class="printWatermark"><div><h:graphicImage alt="Confidentiel" library="img" name="printWatermark.png" /></div></div>
		<h1>#{conversationManager.currentConversation.currentContext.label}</h1>
		<h:form id="form">
			<p><p:commandButton id="back" action="#{bean.back()}" process="@none" ajax="false" immediate="true" value="#{msg.back}" icon="ui-icon-arrowreturnthick-1-w"/></p>
			<p:outputPanel>
				<!-- give focus to cancel to ease keyboard navigation -->
				<script type="text/javascript">
					$(function() {
						setTimeout(function() {
							APP.focusTo('form:back');
						}, 200);
					});
				</script>
			</p:outputPanel>
			<ui:insert name="content"/>
		</h:form>
	</h:body>
	</html>
</f:view>